package com.recharge.core.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.recharge.core.entity.GoodsGroupEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品分组 Mapper 接口
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
@Mapper
public interface GoodsGroupMapper extends BaseMapper<GoodsGroupEntity> {

    /**
     * 自定义分页查询
     * @param page
     * @param wrapper
     * @return
     */
    IPage<GoodsGroupEntity> selectOtherPage(Page<GoodsGroupEntity> page,@Param("ew") QueryWrapper<GoodsGroupEntity> wrapper);
}
